package sjms.create.factory.simple;

public class BaoMa  extends Car {

    public BaoMa(String name){
        setName(name);
    }

    public BaoMa(){}

    public String getName(){
        return this.name;
    }

    public void setName(String name){
        this.name = name;
    }

    @Override
    public void feature(){
        System.out.println("宝马特色");
    }
}
